// import Layout from "@/layout";

const SparePartManageRouter = {
  path: "/spare-part-manage",
  component: "Layout",
  redirect: "noRedirect",
  name: "SparePartManage",
  meta: { title: "备件管理", icon: "spare-part-manage" },
  children: [
    {
      path: "/spare-parts-input",
      name: "SparePartsInput",
      component: "spare-part-manage/spare-parts-input/index",
      meta: { title: "备件入库", icon: "spare-parts-input" }
    },
    {
      path: "/spare-parts-out",
      name: "SparePartsOut",
      component: "spare-part-manage/spare-parts-out/index",
      meta: { title: "备件出库", icon: "spare-parts-out" }
    },
    {
      path: "/spare-part-model",
      name: "SparePartModel",
      component: "spare-part-manage/spare-part-model/index",
      meta: { title: "备件型号管理", icon: "spare-part-model" }
    },
    {
      path: "/spare-part-type",
      name: "SparePartType",
      component: "spare-part-manage/spare-part-type/index",
      meta: { title: "备件类型管理", icon: "spare-part-type" }
    },
    {
      path: "/warehouse-manage",
      name: "WarehouseManage",
      component: "spare-part-manage/warehouse-manage/index",
      meta: { title: "仓库管理", icon: "warehouse-manage" }
    },
    {
      path: "/supplier-manage",
      name: "SupplierManage",
      component: "spare-part-manage/supplier-mange/index",
      meta: { title: "供应商管理", icon: "spare-part-type" }
    }
  ]
};

export default SparePartManageRouter;
